package cn.gene.timeyan.ums.webapi.ums;

import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import javax.sql.DataSource;

@SpringBootTest
public class test {

    @Autowired
    DataSource dataSource;


    @Test
    void contextLoads() {
        System.out.println("赞美万机之神");
    }

    @Test
    void testConnection(){
        Assertions.assertDoesNotThrow(()->{
            dataSource.getConnection();
        });
    }

}
